package com.bs.util;

public class Window implements Runnable{

    private boolean flag;
    private boolean isSetFlag;

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public boolean isSetFlag() {
        return isSetFlag;
    }

    public void setSetFlag(boolean setFlag) {
        isSetFlag = setFlag;
    }

    @Override
    public void run() {
         flag = FaceVideo.compareFace();
         isSetFlag = true;
    }

    public boolean checkIsFlagIsSet(){
        return this.isSetFlag;
    }
}
